﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace Exam.Core.DAL
{
    public class StudentExamPaper
    {
        public DataTable getStudentExamPaperByPaperId(int paperid)
        {
            StringBuilder SQL = new StringBuilder();
            SQL.Append("SELECT *  FROM StudentExamPaper WHERE PaperID=" + paperid.ToString() + " ORDER BY PaperStatus DESC");
            return DataProvider.getDataTable(SQL.ToString());

        }
    }
}
